package stu.sup.dto;

/**
 * Created by HUAWEI on 2020/6/20.
 */
public class UserDto {
    private Integer id;

    private String headImg;

    private String username;

    private String password;

    private int status;

    private int login;

    public UserDto() {
    }

    public UserDto(Integer id, String headImg, String username, String password, int status, int login) {
        this.id = id;
        this.headImg = headImg;
        this.username = username;
        this.password = password;
        this.status = status;
        this.login = login;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getHeadImg() {
        return headImg;
    }

    public void setHeadImg(String headImg) {
        this.headImg = headImg;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public int getLogin() {
        return login;
    }

    public void setLogin(int login) {
        this.login = login;
    }

    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("UserDto{");
        sb.append("id=").append(id);
        sb.append(", headImg='").append(headImg).append('\'');
        sb.append(", username='").append(username).append('\'');
        sb.append(", password='").append(password).append('\'');
        sb.append(", status=").append(status);
        sb.append(", login=").append(login);
        sb.append('}');
        return sb.toString();
    }
}
